package com.chatroomserver.configs;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "chatroom")
public class ChatroomConfig {
    private String password;
    private int limit;
    private String name;
    private int expires;
}
